package com.atguigu.mybatis.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * author: BigT
 * create: 2023-03-14 00:14
 * Version 1.0
 **/

public class Dept implements Serializable {

    private static final long serialVersionUID = -2347324789325789347L;

    private Integer did;

    private String deptName;

    private List<Emp> emps;

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "did=" + did +
                ", deptName='" + deptName + '\'' +
                ", emps=" + emps +
                '}';
    }
}
